DEMO 1: An event is a block of code that has a specific task and must receive a signal to run.
We use an event handler to tell the program what signal to listen for to run an event.
- Click Run to see a the parts of an event.
- Click the Continue on the stage to see what each line does.
- Click Submit and Next to answer the questions about functions.
To navigate the page using the TAB key, first press ESC to exit the code editor.